-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: the dhcp client behaviour is not standard compliant for DHCP clients (RFC2131) (IDFGH-5139) #51
Conversation
What do you think of this comment ? |
Dear, I don't think it is the right way to fix a standard compliance issue. By the way, I agree LwIP skips this standard compliance to be very light. But on IoT performance, getting an IP by DHCP is not recommended. So that I thought we can stuff LwIP with that (and it solves auto-registered DNS then it helps IoT networks along). I advise to merge the PR as it :) |
My Friend, I usually accept in this repository any patch against lwIP, only when such patch is meant to fix a lwIP bug or to be submitted upstream for feature addition, as it already happened. Your patch could be qualified for both but there are some names that are unrelated to lwIP Regarding espressif-lwip, the first commit in their repository happened a year after esp82xx-nonos-linklayer, which title is My feeling is that they are repeating the same error as they did with lwIP-1.4 for esp8266. I know that it sounds unreasonable from a single man like me but I have reasons (and sweat). Their original modifications on esp8266-nonos-sdk-lwIP-1.4 had to be tracked and pulled out one by one from real sources to find out what they did in order to apply them to lwIP-2. Improvements and bugfixes for lwIP are meant to go upstream, and their way of working is patching. Also espressif-lwip has a funny way for giving credits to original authors: see napt commit on espressif-lwip vs napt here. For the previous reasons, I can't merge this pull request as-is. |
…ents (RFC2131) (IDFGH-5139)
Hi @d-a-v, Thanks a lot for your explanations. It's easier to know the philosophy of the project for contributing. I hold a doubt: I had include a 'prot' .h for writing the new function. Is it allowed? I have prepare several part into the hook. Perhaps it should an overkill code: I hope we are more aligned. |
@1e1 can you comment more on this? Do you think not providing mac/hostname in the DHCP request could cause DHCP to fail on some routers? |
@someburner |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
fix #50